﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using prufa.Models;
using prufa.Interfaces;

namespace prufa.Models
{
    // 
    public class AppRepository : IAppRepository
    {
        private DefaultConnection _db = new DefaultConnection();

        public IEnumerable<Game> AllGames
        {
            get { return _db.Games;}
            set{}
        }

        public IEnumerable<Risk> AllRisks
        {
            get { return _db.Risks; }
            set { }
        }

        public IEnumerable<Mylla> AllMyllas
        {
            get { return _db.Myllas; }
            set { }
        }

        public IEnumerable<UserProfile> AllUserProfiles
        {
            get { return _db.UserProfiles; }
            set { }
        }
    }
}